package com.car.loan.project.xr.util.bo.business.after;

import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author huangding
 * @date 2020/2/26 20:02
 */
@Data
public class OverdueUrgentLogBo {

    @ApiModelProperty(value = "业务id", required = true)
    @NotNull
    private Long loanId;

    @ApiModelProperty(value = "1=电话催收2=上门催收", required = true)
    @NotNull
    private Integer type;

    @ApiModelProperty(value = "联系人姓名", required = true)
    @NotBlank
    private String name;

    @ApiModelProperty(value = "联系电话", required = true)
    @NotBlank
    private String mobile;

    @ApiModelProperty(value = "与客户关系", required = true)
    @NotBlank
    private String relationship;

    @ApiModelProperty(value = "还款状态1=未还款 2=已还款", required = true)
    @NotNull
    @Min(1)
    @Max(2)
    private Integer repaymentStatus;

    @ApiModelProperty("备注")
    private String remark;
}
